

import React from 'react'
import {Link } from 'react-router-dom'
import {Layout,Row,Col,Card} from 'antd'

import FooterMsg from 'component/footermsg/index.jsx'

const { Header, Content, Footer, Sider } = Layout; 
class Error extends React.Component{
	constructor(props){
		super(props)
	}
	render(){
    let winheight =document.body.clientHeight;
    let margintop = (winheight-620)>0?(winheight-620)/2:0;
		return (
			<Layout  className="layoutbox">

	      <Layout className="layoutbox">
	        <Content style={{height:winheight-220}} >
	        		<Card title="出错了" >
	        			<div style={{textAlign:'center'}}>
			        		找不到该路径，<Link to="/">点我返回首页</Link>
			        	</div>
	        		</Card>
	        </Content>
	      </Layout>
      	<Footer className="layoutfooter"><FooterMsg /></Footer>
    	</Layout>
		)
	}
}

export default Error; 